
// MainFrm.h : interface of the CMainFrame class

class CMainFrame : public CFrameWnd
{ 	
protected: // create from serialization only
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)

// Attributes
protected:
	bool	m_bRestore;
	BOOL	m_bFileSec;
	CListView *	m_pViewList;
	CMFCPropertyGridCtrl *	m_pPropList;

// Overrides
public:
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
	virtual ~CMainFrame() {};

// Implementation of CMFCPropertyGridCtrl *	m_pPropList;
protected:
	BOOL toggleDescArea();
	BOOL toggleFileSect();

#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:  // control bar embedded members
	CToolBar          m_wndToolBar;
	CReBar            m_wndReBar;
	CDialogBar        m_wndDlgBar;
	CStatusBar        m_wndStatusBar;
	CSplitterWnd	  m_wndSplitter;

// Generated message map functions
protected:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnInitdialog(void);
	afx_msg void OnGetMinMaxInfo(MINMAXINFO* lpMMI);
	afx_msg void OnViewPane(UINT nCommandID);
	afx_msg void OnContextMenu(CWnd* /*pWnd*/, CPoint /*point*/);
	afx_msg void OnUpdateViewPane(CCmdUI *pCmdUI);
	afx_msg void OnUpdateViewStyles(CCmdUI* pCmdUI);
	afx_msg void OnUpdateIndicatorReg(CCmdUI *pCmdUI);
	afx_msg void OnUpdateIndicatorFocus(CCmdUI *pCmdUI);
	afx_msg BOOL OnBarCheck(UINT nID);
	afx_msg void OnClose();

	DECLARE_MESSAGE_MAP()

};
